$.ajaxSetup({cache: false});
$.gritter.options.position = 'top-right';
hljs.configure({languages: ['bash']});

App = {
    // 用xbox变量向模块传递路由参数, 不同模块间不要相互影响
    xbox: {},
    modules: {},
    views: {},
    models: {},
    currModule: undefined,
    routers: {},
    apiList: {
        health: '/health',
        key: {
            query: '/key/query',
            deny: '/key/deny',
            reject: '/key/reject',
            delete: '/key/delete',
            accept: '/key/accept',
        },
        minion: {
            query: '/minion/query',
        },
        minionList: '/minion-list',
        process: '/process',
        project: '/project',
        sysproc: '/sysproc',
        job: {
            list: '/job/list',
            query: '/job/query',
            delete: '/job/delete'
        },
        execute: '/execute'
    },
};
